package com.vhall.component.service.lottery;


import com.vhall.component.entity.lottery.vo.*;
import org.springframework.validation.annotation.Validated;

/**
 * 抽奖服务接口
 *
 * @author song.dong
 */
public interface LotteryService {


    /**
     * 组件V4发起抽奖
     *
     * @param req 发起中奖请求参数
     * @return 发起中奖响应
     */
    LotteryV4AddRspVO add(LotteryV4AddReqVO req);


    String publish(V4LotteryPublishReqVO req);

    LotteryInfoVO info(@Validated V4LotteryPublishReqVO reqVo);

    LotteryWinningInfo winningInfo(V4LotteryRecordReqVO reqVo);
    LotteryRspVO end(V4LotteryEndReqVO req);

    LotteryAwardRspVO award(LotteryAwardReqVO req);


    /**
     * 获取抽奖中奖人名单
     *
     * @param req
     * @return
     */
    WatchLotteryUsersGetRspVO usersGet(V4LotteryUsersGetReqVO req);


    CheckAwardInfoRspVO checkAwardInfo(CheckAwardInfoReqVO reqVo);

}
